package com.foreknow.elmboot.service.impl;

import com.foreknow.elmboot.mapper.OrderDetailetMapper;
import com.foreknow.elmboot.mapper.OrdersMapper;
import com.foreknow.elmboot.po.OrderDetailet;
import com.foreknow.elmboot.service.OrderDetailetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OrderDetailetServiceImpl implements OrderDetailetService {
    @Autowired
    private OrderDetailetMapper orderDetailetMapper;

    @Override
    public List<OrderDetailet> listOrderDetailetByOrderId(Integer orderId) {
        return orderDetailetMapper.listOrderDetailetByOrderId(orderId);
    }
}
